import type { LoginParams } from "./type";
import Api from "../requst";

export const login = async (data: LoginParams) => {
  return Api.post("user/login", data);
};
